{include file="../../modules/panel/views/leftSiteBar.tpl"}
<div id="myDataMainContent">
	<span style="display: block; width: 763px; height: 5px; background: transparent url('{$url}public/images/m_oferta_nr_bg.png') no-repeat 0px 0px;"></span>
	<div class="bg">
		<form action="{$url}panel/zapisz-dane" method="post">
			<input type="hidden" name="latitude" id="lat" value="{$userData.latitude}"/>
			<input type="hidden" name="longitude" id="lon" value="{$userData.longitude}"/>
			<ul>
				<li></li>
				<li>
					<label for="name">Imię</label><input class="text" type="text" name="name" value="{$userData.name}" />
				</li>
				<li>
					<label for="name">Nazwisko</label><input type="text" class="text" name="surname" value="{$userData.surname}" />
				</li>
				<li>
					<label for="name">Email</label><input type="text" class="text" disabled="disabled" value="{$userData.email}" />
				</li>
				<li>
					<label for="name">Numer telefonu</label><input type="text" class="text" name="phone" value="{$userData.phone}" />   
				</li>
				<li>
					Twoja lokalizacja
				</li>
				<li style="height: 425px;">
					<div id="map"></div>
					 <script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAHy-4chTxWi7fRAXj5xfkGRTVeRltro6I6Asm8fjVGF4U7FNUOBQyKduIHYGVXdJcpJrs6BUDWFe7Wg"></script>
					 <script type="text/javascript" src="{$url}public/js/googleMap.js"></script> 
					 {literal}
						<script type="text/javascript">setUserLocalization('{/literal}{$userData.latitude}{literal}', '{/literal}{$userData.longitude}{literal}');</script>
					 {/literal}
				</li>
				<li>
					<input type="submit" class="submit" value="" />
				</li>
				<li></li>
			</ul>
		</form>
	</div>
	<img src="{$url}public/images/m_oferta_last_bg.png" alt="" />
</div>